package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author liuw
 * @since 2019-09-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEF_T")
public class Gweq024Export extends PO<GwefT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEFSEQ", type = IdType.INPUT)
    private String GWEFSEQ;

     @Excel(name = "部门")
     private String GWEF021_N1;

     @Excel(name = "业务员")
     private String GWEF020_N1;

     @Excel(name = "客户名称")
     private String GWAKL003;

     @DateTimeFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "出货日期")
     private LocalDate GWEC002;

     @DateTimeFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "开票日期")
     private LocalDate GWEFDOCDATE;

     @Excel(name = "价税合计")
     private String GWEF011;

     @Excel(name = "0~30天")
     private String DAY0_30;

     @Excel(name = "31~60天")
     private String DAY31_60;

     @Excel(name = "61~90天")
     private String DAY61_90;

     @Excel(name = "91~180天")
     private String DAY91_180;

     @Excel(name = "181~540天")
     private String DAY181_540;

     @Excel(name = "540天以上")
     private String DAY540UP;


    @Override
    protected Serializable pkVal() {
        return this.GWEFSEQ;
    }
}
